package tech.runchen.gz5055.oms.modules.system.service;

import tech.runchen.gz5055.oms.modules.system.entity.FingerprintEntity;


import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author zzj
 */
public interface IFingerprintService extends IService<FingerprintEntity> {

    /**
     * 列表查询
     *
     * @param params
     * @return
     */
    List<FingerprintEntity> queryList(Map<String, Object> params);

    /**
     * 保存指纹
     *
     * @param fingerprint
     * @return
     */
    boolean saveFingerprint(FingerprintEntity fingerprint);

    /**
     * 更新指纹
     *
     * @param fingerprint
     * @return
     */
    boolean updateFingerprint(FingerprintEntity fingerprint);

    /**
     * 删除指纹
     *
     * @param fingerprintId
     */
    void deleteFingerprint(Long fingerprintId);

    /**
     * 比对指纹
     *
     * @param psChar
     * @return
     */
    Long checkFingerprint(String psChar);

}
